import { request } from '@umijs/max';
import api from '@/services/api';

export async function vehicleTree(params) {
  return request(api.vehicle_tree, {
    method: 'GET',
    params,
  });
}

export async function locationLatest(params) {
  return request(api.location_latest, {
    method: 'GET',
    params,
  });
}

